//
//  LFfuction.m
//  LocalLife
//
//  Created by 李立达 on 15/11/22.
//  Copyright © 2015年 heima11. All rights reserved.
//

#import "LFfuction.h"
#import "MD5.h"
@implementation LFfuction
+(NSString *)gettimeInterval
{
    return [NSString stringWithFormat:@"%f",[[NSDate date]timeIntervalSince1970]];
}
+(NSString *)signappeningWith:(NSArray *)array
{
    NSMutableString *string=[NSMutableString string];
    [array enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
         [string appendString:obj];
    }];
    return [MD5 MD5Encrypt:string ];
}
@end
